<template>
  <section>
    <ul>
      <li v-if="seen">现在你看到我了</li>
      <li v-for="(item, index) in todos" :key="index">{{item.text}}</li>
    </ul>
  </section>
</template>

<script>
export default {
  name: "Statement",
  data() {
    return {
      seen: true,
      todos: [
        { text: "学习 JavaScript" },
        { text: "学习 Vue" },
        { text: "学习整个牛项目" }
      ]
    };
  }
};
</script>